<%@ page import="java.io.*, java.text.*, java.util.Date, java.sql.*, javax.servlet.*, javax.servlet.http.*, java.util.*" %>
<%
String usernameSC = (String) session.getAttribute("session_name");
String idSC = (String) session.getAttribute("id");
String typeSC = (String) session.getAttribute("type");
if(usernameSC == null || typeSC.equals("student"))
	response.sendRedirect("error.jsp");

%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />

<title>Graduation Projects</title>

<link rel="STYLESHEET" href="styles/project.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css" media="screen" />
<script type="text/javascript" language="javascript" src="js/project.js"></script>

</head>

<body onload="onLoadDo()">

<div id="container">

	<!-- Start of Page Header -->

	<div id="header_container">
	<div id="page_header">

		<div id="header_menu">

			<jsp:include page="links.jsp"/>

		</div>

		<div id="header_welcome">
			<div id="welcome_text">
			</div>

		</div>

	</div>
	</div>

	<!-- End of Page Header -->


	<!-- Start of Left Sidebar -->

	<div id="left_sidebar">

		<!-- Start of User Login -->

		<div class="box_container">
		<div id="userlogin">
			<center><img src="images/userlogin_title.gif"></center>
			<br>
			<%
				String usernameS = (String) session.getAttribute("session_name");
				String idS = (String) session.getAttribute("id");
				String typeS = (String) session.getAttribute("type");
				if(usernameS != null) {
					%>
					<center><jsp:include page="detail.jsp"/></center>
					<%
				} else {
					%>
					
					<center><jsp:include page="login.html"/></center>
					<%
				}
			%>
		</div>
		</div>

		<!-- End of User Login -->


		<!-- Start of Latest News -->

		<div class="box_container">
		<div id="news1">

			<center><img src="images/news_title.gif"></center>	

			

			<div class="clearthis">&nbsp;</div>
		</div>
		</div>

		<!-- End of Latest News -->


	</div>

	<!-- End of Left Sidebar -->


	<!-- Start of Main Content Area -->

	<div id="maincontent_container">
	<div id="maincontent">



			<!-- Start of How We Started -->
			<jsp:include page="addProject.jsp"/>
			
			
		
	</div>
	</div>
	<div id="page_footer">
	</div>
	<div class="clearthis">&nbsp;</div>
</div>
</body>
</html>

		
